Drag a pop-up list (labeled "Item" on the Views palette) into the window.
Control-drag from the pop-up list to the Studio EODisplayGroup.
In the Inspector, select EOPopupAssoc from the pop-up list at the top of the left column.
Select titles in the left column. The titles aspect is bound to the class key whose values you want to display in the pop-up list.
Select name in the right column (since you want to display Studio names in the pop-up list).
Control-drag from the pop-up list to the movies EODisplayGroup.
In the Inspector, select EOPopupAssoc from the pop-up list at the top of the left column.
Select selectedObject in the left column.
Select studio in the right column.
(See " Building and Testing Your Application " for details.)
You can now test the behavior of the pop-up list. For example, suppose you want to transfer the movie "Alien" from the 20th Century Fox studio to MGM. First select 20th Century Fox to display its movies. Then select "Alien" in the list of movies. Finally, use the pop-up list to change the selected studio from 20th Century Fox to MGM. This has the effect of removing "Alien" from 20th Century Fox's movies relationship array and adding it to the movies relationship array of MGM. It also sets the "Alien" Movie object's studio relationship property to point to the new studio, MGM. When you use the pop-up list to transfer a movie, you'll notice that the movie disappears from the original studio's movie list and reappears in the movie list of the new studio. These changes aren't committed to the database until you click Save. At that time Enterprise Objects Framework translates the changes you made in the object graph into the appropriate database changes. For example, it sets the foreign key studioID in the transferred Movie object to have the same value as the studioID primary key of its new studio. Note that Enterprise Objects Framework manages all of this for you without requiring you to write any code. Related Concepts: What is an Association?